@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${item.id}">
			<input type="hidden" id="pageTypeValue" value="${item.sharePageType}">
			<input type="hidden" id="isOpenValue" value="${item.isOpen}">

            <div class="row">
                <div class="col-sm-6 b-r">
                            <#input id="title" name="标题" value="${item.title}" underline="true"/>
                            <#avatar id="imageSrc" name="图片url" avatarImg="${item.imageSrc}" underline="true"/>
                </div>

                <div class="col-sm-6">
                            
                            <#input id="appId" name="小程序id" value="${item.appId}" underline="true"/>
                            <#input id="appPath" name="页面路径" value="${item.appPath}" />
                            <#select id="sharePageType" name="页面选择" underline="true">
								<option value="1">首页</option>
								<option value="2">搜索</option>  
								<option value="3">我的</option>  
							</#select>    
							
                            <div class="form-group">
						    <label class="col-sm-3 control-label">是否开启</label>
						    <div class="col-sm-9">
						    	 <input type="radio" ${item.isOpen==0?'checked':''} id="isOpen" name="isOpen" value="0" />关闭
	                             <input type="radio"  ${item.isOpen==1?'checked':''} id="isOpen" name="isOpen" value="1" />开启
						    </div>
						    </div> 
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="ShareInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="ShareInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/app/share/share_info.js"></script>
@}
